The Week View component > FWeekView.getDayArray()

 

FWeekView.getDayArray()

Availability

Flash Player 6.

Usage

myWeekView_wkv.getDayArray ()

Parameters

none

Returns

Returns an array that holds the names of the days of the week.

Description

Returns an array that holds the names of the days of the week.

 

Example

The week_getSelectedDate.fla example file contains an example of using this method.

The following code gets the day array from the component and traces out the second item within the array.

var days = myWeekView_wkv.getDayArray( );
trace( days[1] ); //traces "Mon"

See also

FWeekView.getMonthArray()

FWeekView.setDayArray()

FWeekView.setMonthArray()